<template>
  <svg class="icon" aria-hidden="true">
    <use :xlink:href="`#icon-${iconClass}`"></use>
  </svg>
</template>

<script setup>
const props = defineProps({
  iconClass: {
    required: true,
    type: String,
  },
})
</script>
<style scoped lang="scss">
.icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  fill: currentColor;
  overflow: hidden;
}
</style>
